SlimStat\Services\GeoService S

Total Complexity 32
Dependencies 4
Dependents 3
Total lines 175
Lines of code 118
Logical lines of code 53
Comment lines 3
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
getUserIP()
S
56 7 16
download()
S
52 5 26
checkDatabase()
S
55 3 20
getPack()
S
78 2 3
deleteDatabaseFile()
S
70 2 6
__construct()
S
75 1 4
isJsDelivrEnabled()
S
80 1 3
updateLastUpdateTime()
S
80 1 3
clearScheduledEvent()
S
81 1 3
isMaxMindEnabled()
S
80 1 3
setUpdate()
S
77 1 4
isGeoIPEnabled()
S
80 1 3
getMaxMindLicenseKey()
S
82 1 3
setMaxmindLicense()
S
77 1 4
getEnableMaxmind()
S
82 1 3
setEnableMaxmind()
S
77 1 4
setPack()
S
77 1 4
logError()
S
71 1 6